.nav-link {
  position: relative;
  min-width: 8rem;
  .close-icon {
    visibility: hidden;
    position: absolute;
    right: .6rem;
  }
  &:hover .close-icon {
    visibility: visible;
  }
  .visibility {
     visibility: visible;
  }
  .unsaved-icon {
    visibility: hidden;
    position: absolute;
    z-index: 2;
    right: .6rem;
  }
  .unsaved {
     visibility: visible;
  }
  &:hover .unsaved-icon.withunsaved {
    visibility: hidden;
  }
  & .close-icon.withunsaved {
    visibility: hidden;
  }
    &:hover .close-icon.withunsaved {
    visibility: visible;
  }
}